<?phpclass users extends CI_Controller{	function user($mail = "", $action = "")	{		$postData = $this->decoder->Decode();		//Get Person byid - /persons/person/byid/$id  [GET]		if ($action != "" && $mail == "byid" && $_SERVER['REQUEST_METHOD'] == "GET")		{			$this->load->library('user');			$user = $this->user->GetById($action);						echo $this->decoder->Code($user);		}	}}?>